package com.school.myrule;

import com.netflix.loadbalancer.IRule;
import com.netflix.loadbalancer.RandomRule;

/**
 * 功能描述：
 *
 * @Package: com.school.myrule
 * @author: Marvin-zl
 * @date: 2022/5/10 19:42
 */
//@Configuration
public class MySelfRule {
//    @Bean
    public IRule myRule(){
        return new RandomRule();
    }
}
